﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class Tbl_SanPham_Entities
    {
        private int sTT;
        public int STT
        {
            get { return sTT; }
            set { sTT = value; }
        }

        private string maSP;
        public string MaSP
        {
            get { return maSP; }
            set { maSP = value; }
        }

        private string tenSP;
        public string TenSP
        {
            get { return tenSP; }
            set { tenSP = value; }
        }

        private float giaGoc;
        public float GiaGoc
        {
            get { return giaGoc; }
            set { giaGoc = value; }
        }

        private float giaBan;
        public float GiaBan
        {
            get { return giaBan; }
            set { giaBan = value; }
        }

        private float tyLeGiamGia;
        public float TyLeGiamGia
        {
            get { return tyLeGiamGia; }
            set { tyLeGiamGia = value; }
        }

        private string ngayDang;
        public string NgayDang
        {
            get { return ngayDang; }
            set { ngayDang = value; }
        }

        private string ngayBan;
        public string NgayBan
        {
            get { return ngayBan; }
            set { ngayBan = value; }
        }

        private string ngayKetThucDuKien;
        public string NgayKetThucDuKien
        {
            get { return ngayKetThucDuKien; }
            set { ngayKetThucDuKien = value; }
        }

        private string ngayKetThuc;
        public string NgayKetThuc
        {
            get { return ngayKetThuc; }
            set { ngayKetThuc = value; }
        }

        private string tinhTrang;
        public string TinhTrang
        {
            get { return tinhTrang; }
            set { tinhTrang = value; }
        }

        private string thongTinCoBan;
        public string ThongTinCoBan
        {
            get { return thongTinCoBan; }
            set { thongTinCoBan = value; }
        }

        private string thongTinDayDu;
        public string ThongTinDayDu
        {
            get { return thongTinDayDu; }
            set { thongTinDayDu = value; }
        }

        private string thoiGianSuDung;
        public string ThoiGianSuDung
        {
            get { return thoiGianSuDung; }
            set { thoiGianSuDung = value; }
        }

        private string dKSD;
        public string DKSD
        {
            get { return dKSD; }
            set { dKSD = value; }
        }

        private int sLBan;
        public int SLBan
        {
            get { return sLBan; }
            set { sLBan = value; }
        }

        private int doanhNghiep;
        public int DoanhNghiep
        {
            get { return doanhNghiep; }
            set { doanhNghiep = value; }
        }

        private int loaiSP;
        public int LoaiSP
        {
            get { return loaiSP; }
            set { loaiSP = value; }
        }
    }
    public enum Tbl_SanPham_Columns
    {
        STT,
        MaSP,
        TenSP,
        GiaGoc,
        GiaBan,
        TyLeGiamGia,
        NgayDang,
        NgayBan,
        NgayKetThucDuKien,
        NgayKetThuc,
        TinhTrang,
        ThongTinCoBan,
        ThongTinDayDu,
        ThoiGianSuDung,
        DKSD,
        SLBan,
        DoanhNghiep,
        LoaiSP
    }

    public class Tbl_SanPham_Collection : List<Tbl_SanPham_Entities>
    {
    }
}
